/**
 * 
 */
package STUDENTS.NGUYENQUOCHUY;

/**
 * @author SPI
 *
 */
public class taodoituong {
	public static void main(String[] args) {
		
		//1.khai bao doi tuong
		//Lop doi tuong <doi tuon can dc tao ra>
		Y2016JC36 MrA;
		Y2016JC36 MrsB;
		Y2016JC36 MrC;
		Y2016JC36 MrsD;
		//2.KHAI SINH CHO DOI TUONG <DOI TUONG DUOC SINH RA>
		MrA = new Y2016JC36();
		MrsB = new Y2016JC36();
		MrC = new Y2016JC36();
		MrsD = new Y2016JC36();
		
		//khai bao tung thong tin tron ho so khai sinh
		MrA.setRollNo(1);
		MrA.setFullName("Nguyen Van A");
		MrA.setMark(8.5);
		
		MrsB.setRollNo(2);
		MrsB.setFullName("Nguyen Van B");
		MrsB.setMark(9.5);
		
		MrC.setRollNo(3);
		MrC.setFullName("Nguyen Van C");
		MrC.setMark(10);
		
		MrsD.setRollNo(4);
		MrsD.setFullName("Nguyen Van D");
		MrsD.setMark(8.5);
		//3, hien thi thong tin ve tung doi tuong
		System.out.println("-----MrA------");
		System.out.println("+RollNo:"+MrA.getRollNo());
		System.out.println("+FullName:"+MrA.getFullName());
		System.out.println("+Mark:"+MrA.getMark());
		
		System.out.println("-----MrsB------");
		System.out.println("+RollNo:"+MrsB.getRollNo());
		System.out.println("+FullName:"+MrsB.getFullName());
		System.out.println("+Mark:"+MrsB.getMark());
		
		System.out.println("-----MrC------");
		System.out.println("+RollNo:"+MrC.getRollNo());
		System.out.println("+FullName:"+MrC.getFullName());
		System.out.println("+Mark:"+MrC.getMark());
		
		System.out.println("-----MrsD------");
		System.out.println("+RollNo:"+MrsD.getRollNo());
		System.out.println("+FullName:"+MrsD.getFullName());
		System.out.println("+Mark:"+MrsD.getMark());
	}
}

